package com.example.businesscalender;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class NextMenu extends Activity {
	Button add,show;
	public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.nextmenu);
        add=(Button)this.findViewById(R.id.add);
        show=(Button)this.findViewById(R.id.show);
        }
        public void add_event(View v)
        {
			// TODO Auto-generated method stub
			Intent event_add=new Intent();
			event_add.setClass(this, AddEvent.class);
			this.startActivity(event_add);
			//startActivity(new Intent("com.example.businesscalender.NEXTMENU"));
		}
        public void show_event(View s) {
			// TODO Auto-generated method stub
			Intent event_show=new Intent();
			event_show.setClass(this, RetrieveEvent.class);
			this.startActivity(event_show);
			//startActivity(new Intent("com.example.businesscalender.NEXTMENU"));
		}
        public void search_event(View s) {
			// TODO Auto-generated method stub
			Intent event_show=new Intent();
			event_show.setClass(this, SearchEvent.class);
			this.startActivity(event_show);
			//startActivity(new Intent("com.example.businesscalender.NEXTMENU"));
		}


}
